<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%request.setCharacterEncoding("utf-8");%>
<c:set var="basePath" value="${pageContext.request.contextPath}" scope="request"></c:set>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  <script type="text/javascript" src="${basePath}/hd_v2/js/Jquery.js"></script>
    <title>客户详细信息</title>
    <style type="text/css">
    	.divpadding{
    		padding: 20px 0px 20px 40px;
    	}
    	span{
    		padding: 20px 0px 20px 30px;
    		font-size: 14px;
    	}
    	.paddingspan{
    		padding: 20px 0px 20px 60px;
    	}
    </style>
    <script type="text/javascript" >
    	$(document).ready(function(){
    	//地址栏获取中文，需要解码
    		<%String name = request.getParameter("username");
    			if(name==null||name==""){
    				return;
    			}
    		%>
    		var username = '<%=new String(name.getBytes("ISO-8859-1"),"GBK")%>';
    		$.post("${basePath}/memberAct!showDetailMember.action?username="+username,{},function(serverData){
    			var content= '';
    			content+='<div class="divpadding">'
  				content+='<span style="font-size: 18px;">基本资料&nbsp &nbsp</span><br><br>'
  				content+='<span>&nbsp &nbsp用户名 &nbsp &nbsp'+serverData.username+'</span><br><br>'
  				content+='<span>真实姓名&nbsp &nbsp'+serverData.realname+'</span><br><br>'
  				content+='<span>绑定手机&nbsp &nbsp'+serverData.telephone+'</span><br><br>'
  				content+='<span>&nbsp QQ号码&nbsp &nbsp'+serverData.qqnum+'</span><br></div>'
  				
  				content+='<div class="divpadding">'
  				content+='<span style="font-size: 18px;">详细资料&nbsp &nbsp</span><br><br>'
  				content+='<span>&nbsp E_MAIL&nbsp &nbsp'+serverData.email+'</span><br><br>'
  				var qq = '<a href="http://wpa.qq.com/msgrd?v=3&amp;uin='+serverData.adminqq+'&amp;site=qq&amp;menu=yes" target="_blank">'
             +'<img alt="点击这里给我发消息" border="0" src="http://wpa.qq.com/pa?p=2:123444:41" title="点击这里给我发消息" style=" vertical-align:middle" /></a>'
  				content+='<span>理财顾问&nbsp &nbsp'+serverData.adminname+'&nbsp &nbsp(联系QQ:'+serverData.adminqq+')'+qq+'</span><br><br>'
  				content+='<span>客户分组&nbsp &nbsp'+serverData.groupname+'</span><br><br>'
  				content+='<span>&nbsp &nbsp 居间商&nbsp &nbsp'+serverData.agentname+'</span><br></div>'
  				
  				content+='<div class="divpadding">'
  				content+='<span style="font-size: 18px;">扩展资料&nbsp &nbsp</span><br><br>'
  				content+='<span>注册时间&nbsp &nbsp'+serverData.regdate+'</span><br><br>'
  				content+='<span>当前状态&nbsp &nbsp'+serverData.status+'</span><br><br>'
  				content+='<span>到期时间&nbsp &nbsp'+serverData.expiredate+'</span><br></div>'
    			$('#showdata').append(content);
    		},"json");
    	})
    </script>
  </head>
  <body >
  	<div style="padding-left:150px;border: solid 1px black;">
  	 <div>
  	 </div>
  	 <div  id="showdata">
  	 </div>
  	</div>
  </body>
</html>
